import request from '@/utils/request'

export function getList(params: any) {
  return request({
    url: '/customer/searchList',
    method: 'get',
    params,
  })
}
export function getEdit(data: any) {
  return request({
    url: '/customer/Edit',
    method: 'post',
    data,
  })
}
export function doEdit(data: any) {
  return request({
    url: '/customer/AddCustomer',
    method: 'post',
    data,
  })
}

export function doDelete(data: any) {
  return request({
    url: '/customer/doDelete',
    method: 'post',
    data,
  })
}

export function ApplyCustomerPick(data: any) {
  return request({
    url: '/customer/ApplyCustomerPick',
    method: 'post',
    data,
  })
}

export function ApplyBusinessOrder(data: any) {
  return request({
    url: '/customer/ApplyBusinessOrder',
    method: 'post',
    data,
  })
}
